!!!###!!!title=135-How to customize the colors of bars based on values in a bar chart——VisActor/VChart FAQ documents!!!###!!!

How to customize the colors of bars based on values in a bar chart?

Question Description

I need to draw a histogram that can be configured with different colors according to the values of different columns. How should I do it?

Solution

You can use the callback to configure the column style in VChart to customize the color based on the data content.

Code Example

Quote